package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name="t_role")
public class Role implements Serializable {

@Id
@Column(name = "uid")
private String  uid;

    @Column(name = "role_name")
    private String  roleName ;
    @Column(name = "create_time")
    private Date  createTime ;
    @Column(name = "update_time")
    private Date  updateTime ;
    @Column(name = "status")
    private byte  status ;
    @Column(name = "summary")
    private String  summary ;
    @Column(name = "category_menu_uids")
    private String  categoryMenuUids ;

}